inherited frmChoiceProduct: TfrmChoiceProduct
  Left = 338
  Top = 136
  Caption = #36873#25321#36135#21697
  ClientHeight = 553
  ClientWidth = 792
  ExplicitWidth = 798
  ExplicitHeight = 578
  PixelsPerInch = 96
  TextHeight = 12
  inherited pnlBottom: TPanel
    Top = 498
    Width = 792
    TabOrder = 2
    ExplicitTop = 498
    ExplicitWidth = 792
    inherited btnOK: TcxButton
      Left = 616
      ModalResult = 0
      TabOrder = 4
      OnClick = btnOKClick
      ExplicitLeft = 616
    end
    inherited btnCancel: TcxButton
      Left = 705
      TabOrder = 5
      ExplicitLeft = 705
    end
    object btnAppendAll: TcxButton
      Left = 423
      Top = 13
      Width = 75
      Height = 25
      Caption = #20840#37096#28155#21152
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00808080FF808080FF808080FF808080FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00808080FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00008000FF008000FF008000FFFF00FF00808080FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00008000FF008000FF008000FFFF00FF00808080FF8080
        80FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00008000FF008000FFFF00FF00008000FF008000FFFF00FF008080
        80FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00008000FF008000FFFF00FF00008000FF008000FFFF00FF008080
        80FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00008000FF008000FFFF00FF00008000FF008000FFFF00FF008080
        80FF808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FFFF00FF00808080FFFF00FF00008000FF008000FFFF00
        FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FFFF00FF00808080FFFF00FF00008000FF008000FFFF00
        FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FFFF00FF00808080FFFF00FF00008000FF008000FFFF00
        FF00808080FF808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF000080
        00FF008000FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00008000FF0080
        00FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF000080
        00FF008000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00008000FF0080
        00FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      TabOrder = 3
      OnClick = btnAppendAllClick
    end
    object btnAppend: TcxButton
      Left = 335
      Top = 13
      Width = 75
      Height = 25
      Caption = #28155#21152
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        000000000000C40E0000C40E00000000000000000000FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00808080FF808080FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00808080FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00008000FF008000FF008000FFFF00FF00808080FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00008000FF008000FF008000FF008000FF008000FFFF00FF008080
        80FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FF008000FF008000FF008000FF008000FFFF00FF008080
        80FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF000080
        00FF008000FF008000FF008000FFFF00FF00008000FF008000FF008000FFFF00
        FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FFFF00FF00FF00FF00FF00FF00008000FF008000FFFF00
        FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00008000FF008000FF0080
        00FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00008000FF0080
        00FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF000080
        00FF008000FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF000080
        00FF008000FFFF00FF00808080FFFF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00008000FF008000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00008000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      TabOrder = 2
      OnClick = btnAppendClick
    end
    object btnSelAll: TcxButton
      Left = 9
      Top = 13
      Width = 75
      Height = 25
      Caption = #20840#36873
      LookAndFeel.Kind = lfUltraFlat
      TabOrder = 0
      OnClick = btnSelAllClick
    end
    object btnEmpty: TcxButton
      Left = 93
      Top = 13
      Width = 75
      Height = 25
      Caption = #28165#31354
      LookAndFeel.Kind = lfUltraFlat
      TabOrder = 1
      OnClick = btnEmptyClick
    end
    object cxLabel1: TcxLabel
      Left = 180
      Top = 18
      Caption = #21452#20987#36135#21697#21363#21487#36873#25321#28155#21152#36135#21697
      ParentFont = False
      Style.Font.Charset = GB2312_CHARSET
      Style.Font.Color = clBlue
      Style.Font.Height = -12
      Style.Font.Name = #23435#20307
      Style.Font.Style = []
      Style.IsFontAssigned = True
      Transparent = True
    end
  end
  object cxGroupBox1: TcxGroupBox
    Left = 8
    Top = 11
    Anchors = [akLeft, akTop, akRight]
    Caption = #36807#28388#26465#20214
    TabOrder = 0
    DesignSize = (
      773
      183)
    Height = 183
    Width = 773
    object chkDynFind: TcxCheckBox
      Left = 63
      Top = -4
      Caption = #21160#24577#26597#35810
      TabOrder = 4
    end
    object cxLabel3: TcxLabel
      Left = 256
      Top = 26
      Caption = #32534#30721
      Transparent = True
    end
    object cxLabel4: TcxLabel
      Left = 256
      Top = 50
      Caption = #21517#31216
      Transparent = True
    end
    object cxLabel5: TcxLabel
      Left = 256
      Top = 73
      Caption = #35268#26684
      Transparent = True
    end
    object chkLately: TcxCheckBox
      Left = 255
      Top = 98
      Caption = #26174#31034#26368#36817#36135#21697
      TabOrder = 6
      Transparent = True
      OnClick = chkLatelyClick
    end
    object chkHappen: TcxCheckBox
      Left = 255
      Top = 119
      Caption = #26174#31034#24403#21069#24448#26469#21333#20301#26377#20379#38144#35760#24405#30340#36135#21697
      TabOrder = 9
      Transparent = True
    end
    object chkTraderProduct: TcxCheckBox
      Left = 255
      Top = 142
      Caption = #26174#31034#24403#21069#24448#26469#21333#20301#30340#20379#38144#36135#21697
      TabOrder = 11
      Transparent = True
    end
    object chkDepotQty: TcxCheckBox
      Left = 255
      Top = 162
      Caption = #26174#31034#26377#36134#38754#24211#23384#36135#21697
      TabOrder = 13
      Transparent = True
    end
    object lblDepot: TcxLabel
      Left = 376
      Top = 100
      Caption = #24403#21069#20179#24211#65306#25152#26377#20179#24211
      Transparent = True
    end
    object cxGroupBox2: TcxGroupBox
      Left = 523
      Top = 0
      Caption = #23384#36135#31867#22411
      TabOrder = 14
      Height = 59
      Width = 250
      object rbAll: TcxRadioButton
        Left = 23
        Top = 16
        Width = 104
        Height = 17
        Caption = #20840#37096
        Checked = True
        TabOrder = 0
        TabStop = True
        OnClick = rbAllClick
        Transparent = True
      end
      object rbDepot: TcxRadioButton
        Left = 23
        Top = 36
        Width = 104
        Height = 17
        Caption = #23384#36135#31867
        TabOrder = 2
        OnClick = rbAllClick
        Transparent = True
      end
      object rbNotDepot: TcxRadioButton
        Left = 121
        Top = 14
        Width = 105
        Height = 20
        Caption = #38750#23384#36135#31867'/'#26381#21153
        TabOrder = 1
        OnClick = rbAllClick
        Transparent = True
      end
      object rbDisc: TcxRadioButton
        Left = 121
        Top = 35
        Width = 105
        Height = 17
        Caption = #25240#25187
        TabOrder = 3
        OnClick = rbAllClick
        Transparent = True
      end
    end
    object edtProductCode: TcxTextEdit
      Left = 293
      Top = 25
      TabOrder = 0
      OnKeyUp = edtProductCodeKeyUp
      Width = 180
    end
    object edtProductName: TcxTextEdit
      Left = 293
      Top = 49
      TabOrder = 1
      OnKeyUp = edtProductCodeKeyUp
      Width = 180
    end
    object edtProductSpecs: TcxTextEdit
      Left = 293
      Top = 73
      TabOrder = 2
      OnKeyUp = edtProductCodeKeyUp
      Width = 180
    end
    object grdBook: TcxGrid
      Left = 525
      Top = 58
      Width = 246
      Height = 123
      Anchors = [akLeft, akTop, akRight, akBottom]
      TabOrder = 3
      object viewgrdBook: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = dsDepot
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsData.CancelOnExit = False
        OptionsData.Deleting = False
        OptionsData.DeletingConfirmation = False
        OptionsData.Inserting = False
        OptionsView.ColumnAutoWidth = True
        OptionsView.GroupByBox = False
        Styles.Background = MainDM.bslBackGroup
        Styles.ContentEven = MainDM.bsEven
        Styles.ContentOdd = MainDM.bsOdd
        Styles.Header = MainDM.bsTitle
        Styles.Selection = MainDM.bsSelect
        object colChoice: TcxGridDBColumn
          Caption = #36873#25321
          DataBinding.FieldName = 'choice'
          HeaderAlignmentHorz = taCenter
          Width = 30
        end
        object colname: TcxGridDBColumn
          Caption = #20179#24211
          DataBinding.FieldName = 'name'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 80
        end
      end
      object lvlgrdBook: TcxGridLevel
        GridView = viewgrdBook
      end
    end
    object chkShowPic: TcxCheckBox
      Left = 215
      Top = -4
      Caption = #26174#31034#36135#21697#22270#29255
      TabOrder = 5
      OnClick = chkShowPicClick
    end
    object chkFilterCaseIns: TcxCheckBox
      Left = 132
      Top = -4
      Caption = #24573#30053#22823#23567#20889
      Properties.ImmediatePost = True
      Properties.OnValidate = chkFilterCaseInsPropertiesValidate
      State = cbsChecked
      TabOrder = 15
    end
    object treType: TcxTreeView
      Left = 7
      Top = 27
      Width = 233
      Height = 156
      Anchors = [akLeft, akTop, akBottom]
      TabOrder = 17
      OnDblClick = treTypeDblClick
      Images = MainDM.imgList
    end
    object cxLabel6: TcxLabel
      Left = 10
      Top = 14
      Caption = #31867#21035
      Transparent = True
    end
    object chkSingleProduct: TcxCheckBox
      Left = 378
      Top = -4
      Caption = #19979#25289#36873#25321#36135#21697
      TabOrder = 18
      OnClick = chkSingleProductClick
    end
    object edtProduct: TcxDBLookupComboBox
      Tag = 10
      Left = 293
      Top = 25
      DataBinding.DataField = 'productid'
      DataBinding.DataSource = dsChoProduct
      Properties.ListColumns = <>
      TabOrder = 19
      Visible = False
      Width = 180
    end
  end
  object grdProduct: TcxGrid
    Left = 8
    Top = 246
    Width = 773
    Height = 251
    Anchors = [akLeft, akTop, akRight, akBottom]
    TabOrder = 1
    object grdProductView: TcxGridDBTableView
      OnDblClick = grdProductViewDblClick
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = dsProduct
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.AlwaysShowEditor = True
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Inserting = False
      OptionsSelection.MultiSelect = True
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      Styles.Background = MainDM.bslBackGroup
      Styles.ContentEven = MainDM.bsEven
      Styles.ContentOdd = MainDM.bsOdd
      Styles.Header = MainDM.bsTitle
      Styles.Indicator = MainDM.bslBackGroup
      Styles.Selection = MainDM.bsSelect
      object colTag: TcxGridDBColumn
        DataBinding.FieldName = 'tag'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.ImmediatePost = True
        HeaderAlignmentHorz = taCenter
        Width = 31
      end
      object colPCode: TcxGridDBColumn
        DataBinding.FieldName = 'code'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object colPName: TcxGridDBColumn
        DataBinding.FieldName = 'name'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 100
      end
      object colSpec: TcxGridDBColumn
        DataBinding.FieldName = 'spec'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 81
      end
      object colUnitname: TcxGridDBColumn
        DataBinding.FieldName = 'unitname'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 45
      end
      object colMinpurqty: TcxGridDBColumn
        Caption = #24320#21333#25968#37327
        DataBinding.FieldName = 'minpurqty'
        HeaderAlignmentHorz = taCenter
        Width = 55
      end
      object colPrice1: TcxGridDBColumn
        DataBinding.FieldName = 'price1'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 32
      end
      object colPrice2: TcxGridDBColumn
        DataBinding.FieldName = 'price2'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 30
      end
      object colPrice3: TcxGridDBColumn
        DataBinding.FieldName = 'price3'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 31
      end
      object colPrice4: TcxGridDBColumn
        DataBinding.FieldName = 'price4'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 30
      end
      object colPrice5: TcxGridDBColumn
        DataBinding.FieldName = 'price5'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 32
      end
      object colDepotName: TcxGridDBColumn
        Caption = #20179#24211
        DataBinding.FieldName = 'depotname'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 50
      end
      object colQuantity: TcxGridDBColumn
        Caption = #36134#38754#24211#23384
        DataBinding.FieldName = 'quantity'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 55
      end
      object colFactqty: TcxGridDBColumn
        Caption = #23454#38469#24211#23384
        DataBinding.FieldName = 'factqty'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 55
      end
      object colAssQty: TcxGridDBColumn
        Caption = #36741#21161#25968#37327
        DataBinding.FieldName = 'assqty'
        HeaderAlignmentHorz = taCenter
        Width = 55
      end
      object colbcustom1: TcxGridDBColumn
        DataBinding.FieldName = 'bcustom1'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object colbcustom2: TcxGridDBColumn
        DataBinding.FieldName = 'bcustom2'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object colbcustom3: TcxGridDBColumn
        DataBinding.FieldName = 'bcustom3'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object colLength: TcxGridDBColumn
        Caption = #38271
        DataBinding.FieldName = 'Length'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 55
      end
      object colWidth: TcxGridDBColumn
        Caption = #23485
        DataBinding.FieldName = 'width'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 55
      end
      object colHeight: TcxGridDBColumn
        Caption = #39640
        DataBinding.FieldName = 'height'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 55
      end
      object coldisasslength: TcxGridDBColumn
        Caption = #20998#21305#31859#25968
        DataBinding.FieldName = 'disasslength'
        Visible = False
        Width = 60
      end
    end
    object grdProductLevel1: TcxGridLevel
      GridView = grdProductView
    end
  end
  object pnlIndustry: TPanel
    Left = 0
    Top = 196
    Width = 793
    Height = 48
    Anchors = [akLeft, akTop, akRight]
    BevelOuter = bvNone
    TabOrder = 3
    Visible = False
    object lblLength: TLabel
      Left = 56
      Top = 33
      Width = 24
      Height = 12
      Alignment = taRightJustify
      Caption = #38271#65306
      Transparent = True
    end
    object lblWidth: TLabel
      Left = 264
      Top = 33
      Width = 24
      Height = 12
      Alignment = taRightJustify
      Caption = #23485#65306
      Transparent = True
    end
    object lblHeight: TLabel
      Left = 454
      Top = 33
      Width = 42
      Height = 12
      Alignment = taRightJustify
      Caption = #39640'/'#21402#65306
      Transparent = True
    end
    object dynedtLength: TcxCurrencyEdit
      Left = 80
      Top = 28
      Properties.DisplayFormat = '#0.00000000'
      Properties.EditFormat = '#0.00000000'
      TabOrder = 0
      OnKeyUp = edtProductCodeKeyUp
      Width = 121
    end
    object dynedtWidth: TcxCurrencyEdit
      Left = 286
      Top = 28
      Properties.DisplayFormat = '#0.00000000'
      Properties.EditFormat = '#0.00000000'
      TabOrder = 1
      OnKeyUp = edtProductCodeKeyUp
      Width = 121
    end
    object dynedtHeight: TcxCurrencyEdit
      Left = 493
      Top = 28
      Properties.DisplayFormat = '#0.00000000'
      Properties.EditFormat = '#0.00000000'
      TabOrder = 2
      OnKeyUp = edtProductCodeKeyUp
      Width = 121
    end
    object chkCstLike: TcxCheckBox
      Left = 682
      Top = 4
      Caption = #27169#31946#21305#37197
      TabOrder = 3
    end
  end
  object qryProduct: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      ''
      'select distinct p.p_id, p.code productcode, p.name productname, '
      
        '     p.spec,  u.unitname, u.price1, u.price2, u.price3, u.price4' +
        ', u.price5, '
      '     p.quantity, p.factqty, p.Kind, p.calccost, '
      '     p.custom1, p.custom2, p.custom3, p.custom4, p.custom5, '
      '     p.custom6, p.custom7, p.custom8, p.custom9, p.custom10 '
      '     from td_product p'
      
        '     left join td_unitprice u on(p.p_id=u.productid and baseunit' +
        '=1)'
      '     left join td_producttype s on p.productTypeID=s.ID'
      '     where p.pause = 0')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Options.AutoPrepare = True
    AfterScroll = qryProductAfterScroll
    Left = 280
    Top = 278
    object qryProductp_id: TIntegerField
      FieldName = 'p_id'
    end
    object qryProductcode: TStringField
      DisplayLabel = #36135#21697#32534#30721
      FieldName = 'code'
      Size = 30
    end
    object qryProductname: TWideStringField
      DisplayLabel = #21517#31216
      FieldName = 'name'
      Size = 60
    end
    object qryProductabname: TWideStringField
      FieldName = 'abname'
      Size = 40
    end
    object qryProductspec: TWideStringField
      DisplayLabel = #35268#26684
      FieldName = 'spec'
      Size = 60
    end
    object qryProductunitid: TIntegerField
      FieldName = 'unitid'
    end
    object qryProductunitname: TWideStringField
      DisplayLabel = #22522#26412#21333#20301
      FieldName = 'unitname'
      Size = 30
    end
    object qryProductdepotid: TIntegerField
      FieldName = 'depotid'
    end
    object qryProductprice1: TFloatField
      DisplayLabel = #19968#32423#25209#21457#20215
      FieldName = 'price1'
    end
    object qryProductprice2: TFloatField
      DisplayLabel = #20108#32423#25209#21457#20215
      FieldName = 'price2'
    end
    object qryProductprice3: TFloatField
      DisplayLabel = #19977#32423#25209#21457#20215
      FieldName = 'price3'
    end
    object qryProductprice4: TFloatField
      DisplayLabel = #22235#32423#25209#21457#20215
      FieldName = 'price4'
    end
    object qryProductprice5: TFloatField
      DisplayLabel = #20116#32423#25209#21457#20215
      FieldName = 'price5'
    end
    object qryProductquantity: TFloatField
      FieldName = 'quantity'
    end
    object qryProductfactqty: TFloatField
      FieldName = 'factqty'
    end
    object qryProductassqty: TFloatField
      FieldName = 'assqty'
    end
    object qryProductKind: TIntegerField
      FieldName = 'Kind'
    end
    object qryProductcalccost: TByteField
      FieldName = 'calccost'
    end
    object qryProductcustom1: TStringField
      FieldName = 'custom1'
      Size = 100
    end
    object qryProductcustom2: TStringField
      FieldName = 'custom2'
      Size = 100
    end
    object qryProductcustom3: TStringField
      FieldName = 'custom3'
      Size = 100
    end
    object qryProductcustom4: TStringField
      FieldName = 'custom4'
      Size = 100
    end
    object qryProductcustom5: TStringField
      FieldName = 'custom5'
      Size = 100
    end
    object qryProductcustom6: TStringField
      FieldName = 'custom6'
      Size = 100
    end
    object qryProductcustom7: TStringField
      FieldName = 'custom7'
      Size = 100
    end
    object qryProductcustom8: TStringField
      FieldName = 'custom8'
      Size = 100
    end
    object qryProductcustom9: TStringField
      FieldName = 'custom9'
      Size = 100
    end
    object qryProductcustom10: TStringField
      FieldName = 'custom10'
      Size = 100
    end
    object qryProductchoice: TBooleanField
      DisplayLabel = #36873#25321
      FieldName = 'tag'
    end
    object qryProductinputquantity: TFloatField
      DisplayLabel = #25968#37327
      FieldName = 'minpurqty'
      OnChange = qryProductinputquantityChange
    end
    object qryProductcustom11: TFloatField
      FieldName = 'custom11'
    end
    object qryProductcustom12: TFloatField
      FieldName = 'custom12'
    end
    object qryProductcustom13: TFloatField
      FieldName = 'custom13'
    end
    object qryProductcustom14: TFloatField
      FieldName = 'custom14'
    end
    object qryProductcustom15: TFloatField
      FieldName = 'custom15'
    end
    object qryProductdepotname: TWideStringField
      FieldName = 'depotname'
      Size = 60
    end
    object qryProductbcustom1: TStringField
      FieldName = 'bcustom1'
      Size = 200
    end
    object qryProductbcustom2: TStringField
      FieldName = 'bcustom2'
      Size = 200
    end
    object qryProductbcustom3: TStringField
      FieldName = 'bcustom3'
      Size = 200
    end
    object qryProductlength: TFloatField
      FieldName = 'length'
    end
    object qryProductwidth: TFloatField
      FieldName = 'width'
    end
    object qryProductheight: TFloatField
      FieldName = 'height'
    end
    object qryProductdisasslength: TFloatField
      FieldName = 'disasslength'
      OnChange = qryProductdisasslengthChange
    end
  end
  object dsProduct: TDataSource
    DataSet = qryProduct
    Left = 344
    Top = 282
  end
  object qryDepot: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select case(0 as bit) as choice,* from td_depot where ed_pause=0' +
        ' order by ed_deptcd')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 640
    Top = 78
    object qryDepotchoice: TBooleanField
      FieldName = 'choice'
      OnChange = qryDepotchoiceChange
    end
    object qryDepotdepotid: TIntegerField
      FieldName = 'depotid'
    end
    object qryDepotname: TWideStringField
      FieldName = 'name'
      Size = 60
    end
  end
  object dsDepot: TDataSource
    DataSet = qryDepot
    Left = 720
    Top = 79
  end
  object dsChoProduct: TDataSource
    DataSet = cdsChoProduct
    Left = 492
    Top = 76
  end
  object cdsChoProduct: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 428
    Top = 59
    object cdsChoProductproductid: TIntegerField
      FieldName = 'productid'
      OnChange = cdsChoProductproductidChange
    end
  end
end
